export default url => {
    const crud = window.$crud(url);
	//console.log(url);
	
	//租户列表
	const getTenantList = (params) => window.$axios({
	    url: `Tenant/GetPageList`,
	    method: 'get',
	    params
	})

	//数据连接列表
	const dbList = (params) => window.$axios({
	    url: `data/dblinks`,
	    method: 'get',
		params
	})


    return {
        ...crud,
		getTenantList,
		dbList
    }
}